import axios from "axios";

const request = axios.create({
  baseURL:'https://likede2-admin.itheima.net/likede',
  timeout:5000
})

request.interceptors.request.use((res)=>{
  return res
},(err)=>{
  return Promise.reject(err)
})

request.interceptors.response.use((res)=>{
  return res
},(err)=>{
  return Promise.reject(err)
})

export default request